<?php
/**
 * Created by PhpStorm.
 * User: pc
 * Date: 2025/2/24
 * Time: 10:03
 */

namespace app\common\service\options;


use app\common\service\OptionMap;
use app\common\service\OptionMapItem;
use app\modules\setting\models\office\EtcOfficeAddress;
use app\modules\setting\models\seller\EtcSellerTiktokProduct;
use sookie\auth\models\Adminuser;

class authSample extends  OptionMap
{
    public $map = [];

    public function getMap()
    {
        $this->map = [
            'send_sample_address_id' =>  OptionMapItem::createInstance()->setClass(EtcOfficeAddress::class)->setName("concat(name,'  ',phone,'  ',address)"),
//            'product_id' =>  OptionMapItem::createInstance()->setClass(EtcSellerTiktokProduct::class)->setName("name"),
            'seller_id' =>  OptionMapItem::createInstance()->setClass(Adminuser::class)->setName("nickname"),
            'user_id' =>  OptionMapItem::createInstance()->setClass(Adminuser::class)->setName("nickname"),
        ];
        return $this->map;
    }
}